import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import util from './js/util.js'

Vue.use(mavonEditor)
Vue.use(Element)
// axios.defaults.baseURL = 'http://101.43.254.35:8081/car'
axios.defaults.baseURL = 'http://localhost:8081/car'
Vue.prototype.axios = axios
Vue.prototype.util = util
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
